package com.splant.android.smart.ModelLevel;

import java.util.List;

/**
 * Created by Administrator on 2017/8/13.
 */

public class WaterRecordListBean {

    private int succeed;
    private String message;
    private int errorCode;
    private List<WaterData> waterDatas;

    public void setSucceed(int succeed) {
        this.succeed = succeed;
    }

    public int getSucceed() {
        return succeed;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getMessage() {
        return message;
    }

    public void setErrorCode(int errorCode)
    {
        this.errorCode=errorCode;
    }

    public int getErrorCode()
    {
        return errorCode;
    }

    public void setWaterDataList(List<WaterData> waterDataList)
    {
        this.waterDatas=waterDataList;
    }

    public List<WaterData> getWaterDataList()
    {
        return this.waterDatas;
    }

    public static class WaterData
    {

        private String waterTime;
        private String waterLength;
        private int switchNo;
        private String userName;

        public void setWaterTime(String waterTime)
        {
            this.waterTime=waterTime;
        }
        public String getWaterTime()
        {
            return waterTime;
        }
        public void setWaterLength(String waterLength)
        {
            this.waterLength=waterLength;
        }
        public String getWaterLength()
        {
            return waterLength;
        }
        public void setSwitchNo(int switchNo)
        {
            this.switchNo=switchNo;
        }
        public int getSwitchNo()
        {
            return switchNo;
        }
        public void setUserName(String userName)
        {
            this.userName=userName;
        }
        public String getUserName(){
            return userName;
        }
    }
}
